/*
 * @Author: DaTree
 * @Date: 2020-11-16 10:37:30
 * @LastEditTime: 2020-11-16 14:19:54
 * @LastEditors: DaTree
 * @Description: DaTreeEdit
 * @FilePath: \auto-deploy\services\index.js
 * @天将降大任于是人也，必先苦其心志，劳其筋骨，饿其体肤，空乏其身，行拂乱其所为。 ——《孟子•告子下》
 * @symbol_custom_string_obkoro1_copyright: Copyright ${now_year} DaTree
 */
require('babel-register')({
  presets: ['env']
})
const apiControllers = require('./controller/index')
const chalk = require('chalk') // 紫色字体
module.exports = () => {
  console.log(chalk.blueBright(`\n api Server Is Auto Injected . `))
  apiControllers
}
// export default () => {
//   console.log(chalk.blueBright(`\n api Server Is Auto Injected . `))
//   apiControllers
// }
